from fastapi import APIRouter
from app.core.dependency import DependCustomerDevice
from .list import mini_orders_list_router
from .receive import mini_orders_receive_router
from .car import mini_orders_car_router
from .wechat import mini_notify_router

mini_orders_router = APIRouter()
mini_orders_router.include_router(mini_orders_list_router, prefix="/orders/list", tags=["小程序-订单"] ,dependencies=[DependCustomerDevice])
mini_orders_router.include_router(mini_orders_receive_router, prefix="/orders/receive", tags=["小程序-收货信息"],dependencies=[DependCustomerDevice])
mini_orders_router.include_router(mini_orders_car_router, prefix="/orders/car", tags=["小程序-购物车"],dependencies=[DependCustomerDevice])
mini_orders_router.include_router(mini_notify_router, prefix="/orders/wechat", tags=["小程序-微信支付"],dependencies=[DependCustomerDevice])